package com.gdust.lease.web.admin.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gdust.lease.model.entity.ApartmentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gdust.lease.web.admin.vo.apartment.ApartmentItemVo;
import com.gdust.lease.web.admin.vo.apartment.ApartmentQueryVo;

/**
* @author syun
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Mapper
* @createDate 2025-1-1 14:54:48
* @Entity com.gdust.lease.model.ApartmentInfo
*/
public interface ApartmentInfoMapper extends BaseMapper<ApartmentInfo> {
    /**
     * 根据查询条件获取分页后的公寓列表
     * @param page 当前页
     * @param queryVo 查询条件
     * @return
     */
    IPage<ApartmentItemVo> pageApartmentItemByQuery(IPage<ApartmentItemVo> page, ApartmentQueryVo queryVo);
}




